
Imports System

Namespace _2bMatesSite.BO
	''' <summary>
	''' Summary description for GroupFilter.
	''' </summary>
	Public Class GroupFilter
		Public categoryID As Integer = -1
		Public searchByName As Boolean = False
		' false means "doesn't matter" here
		Public searchByKeyword As Boolean = False
		' false means "doesn't matter" here
		Public keywords As String = Nothing
		Public countryID As Integer = -1
		Public city As String = Nothing
		Public zip As String = Nothing
		Public orderBy As OrderBy = OrderBy.defaultOption

		' Keywords looks in all of these:
		' "About"
		' "Activities"
		' "Contacts"
		' "Charity"

		Public Enum OrderBy
			defaultOption = -1
			' Name
			recentlyAdded = 1
			' Recently created groups
			members = 2
			' members
		End Enum

	End Class
End Namespace






